package com.chb.sso.feign;

import com.hos.entity.sys.Menu;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/12/7 17:44
 * @description:
 * @modified By:
 * @version:
 */
@FeignClient(name = "hos-system")
public interface MenuFeign {

    @GetMapping("/system/menu/findMenusByUserId/{id}")
    List<Menu> findMenusByUserId(@PathVariable Long id);
}
